package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @description:租户表
 */
@TableName("cp_tenant")
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "租户")
public class TenantEntity  extends BaseEntity<TenantEntity> {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "租户名称")
    private String name;

    @ApiModelProperty(value = "租户状态[1-正常2-停用]")
    private Integer status;

    @ApiModelProperty(value = "租户Logo地址")
    private String logo;

    @ApiModelProperty(value = "登录页背景图地址")
    private String loginBackground;

    @ApiModelProperty(value = "网站地址")
    private String url;

    @ApiModelProperty(value = "租户版权")
    private String copyright;

    /**
     * serverIps 数据库字段类型为 json
     */
    @ApiModelProperty(value = "服务器IPs")
    private String serverIps;
}
